/*    */ package com.wgcloud.util;
/*    */ 
/*    */ import com.wgcloud.common.ApplicationContextHelper;
/*    */ import com.wgcloud.util.IdGeneratorSnowflake;
/*    */ import java.util.Random;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class UUIDUtil
/*    */ {
/* 18 */   private static IdGeneratorSnowflake idGeneratorSnowflake = (IdGeneratorSnowflake)ApplicationContextHelper.getBean(IdGeneratorSnowflake.class);
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public static String getUUID() {
/* 25 */     return idGeneratorSnowflake.snowflakeId() + "";
/*    */   }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public static String getRandomSix() {
/* 34 */     return "" + (new Random()).nextInt(999999);
/*    */   }
/*    */ }


/* Location:              /Users/zhangyongxin/soft-install/wgcloud/wgcloud-v3.3.5/server/bank/wgcloud-server-release.jar!/BOOT-INF/classes/com/wgcloud/util/UUIDUtil.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */